package org.streets.extention.quartz;


/**
 * Manages the Quartz schedulers.
 * @author dzb
 */
public interface QuartzSchedulerManager {
    /**
     * get a named scheduler.
     *
     * @param schedulerId id of the scheduler
     *
     * @return a named scheduler
     */
    public QuartzScheduler getScheduler(String id);
	/**
	 * 启动所有定时任务
	 */
    public void start();
    /**
     * 关闭所有定时任务
     */
    public void shutdown();

}
